<?php
//URL路径样本:index.php?controller=helloworld&action=action1
define('IN_FRAMEWORK',true);
$config = require(__DIR__.'/config.inc.php');
$router = require(__DIR__.'/router.inc.php');
require(__DIR__.'/controller.lib.php');
require(__DIR__.'/Putty.class.php');
function __autoload($class){
    require(__DIR__.'/controller/'.$class.'.controller.php');
}
Putty::getSingletonInstance($config,$router);